<layout name="layout" />
                <div class="page-header"><!-- Page header -->
                    <h5><i class="font-home"></i><if condition="$_GET['filter'] neq 'user'">蜘蛛爬行<else/>用户访问</if>日志</h5>               
                </div><!-- /page header -->
                <div class="body">                
                    <!-- Content container -->
                    <div class="container"> 
                	
                        <!-- Site Summary -->
                        <div class="block well">                	

                        	<div class="navbar"><div class="navbar-inner"><h5><i class="font-th-list"></i>日志列表</h5></div></div>
                            <ul class="toolbar">
                                <li><a href="{:U('Admin/Spider/index?filter=spider')}"><i class="font-asterisk"></i><span>蜘蛛爬行日志</span></a></li>
                                <li><a href="{:U('Admin/Spider/index?filter=user')}"><i class="font-group"></i><span>用户访问日志</span></a></li>
                                <li><a href="{:U('Admin/Spider/delete')}" message="确定要删除选中的日志吗？" dialog="true" checkbox="true" class="dialog-action"><i class="font-remove"></i><span>批量删除</span></a></li>
                            </ul>
                              
<div class="table-overflow">
<TABLE class="table table-block table-bordered table-checks">
<thread><tr>
	<th><input type="checkbox" class="style checkboxall" /></th>
	<if condition="$_GET['filter'] neq 'user'"><th>蜘蛛</th></if>
	<th>请求方式</th>
	<th>协议</th>
	<th>IP</th>
	<th>模块</th>
	<if condition="$_GET['filter'] neq 'user'"><th>爬行时间</th><else/><th>访问时间</th></if>
	<th style="width:60px;"></th>
</tr></thread>
<tbody>
<volist name="list" id="vo">
<tr class="row">
	<td class="notallow"><input type="checkbox" value="{$vo.id}" class="style checkboxrow" /></td>
	<if condition="$_GET['filter'] neq 'user'"><td><a href="{:U('Admin/Spider/index?filter='.$_GET['filter'].'&spider='.$vo['spider_code'].($_GET['ip']?'&ip='.$_GET['ip']:''))}">{$vo.spider_code}</a></td></if>
	<td>{$vo.request_method}</td>
	<td>{$vo.server_protocol}</td>
	<td><a href="{:U('Admin/Spider/index?filter='.$_GET['filter'].'&ip='.$vo['ip'].($_GET['spider']?'&spider='.$_GET['spider']:''))}">{$vo.ip}</a></td>
	<td>{$vo.module}_{$vo.module_action}<if condition="$vo['modid'] gt 0">_{$vo.modid}</if></td>
	<td>{$vo.request_time|toDate='Y-m-d H#i#s'}</td>
	<td class="notallow"><a href="{:U('Admin/Spider/delete')}" message="确定要删除日志吗？" params="id={$vo.id}" dialog="true" checkbox="false" class="dialog-action"><i class="font-remove"></i> 删除</a></td>
</tr>
<tr><td></td>
	<td colspan="7" style="border-left:none;">
		<strong>URL:</strong> {$vo.request_uri} <a href="http://{$Think.server.server_name}{$vo.request_uri}" target="_blank">[浏览该页面]</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>CODE:</strong> 200<br />
		<strong>HTTP_USER_AGENT:</strong> {$vo.http_user_agent}
	</td>
</tr>
</volist>
</tbody>
</table>
</div>
<div class="table-footer">
	{$page}
</div>
</div>
</div>
</div>